package com.jic.manager.service;

import java.lang.Long;
import java.util.List;

import com.jic.common.base.vo.RestResult;
import com.jic.manager.entity.JobManagement;
import com.jic.common.base.vo.Page;
import com.jic.common.base.vo.PageResult;
import com.jic.manager.request.JobManagementRequest;
import com.jic.manager.response.JobManagementResponse;

/**
* 岗位管理
* @author : 
* @email : 
* @since : 2020-02-26 09:40:52
* @version : v1.0.0
*/
public interface JobManagementService {

    long insert(JobManagementRequest jobManagement);

    long delete(Long id);

    long update(JobManagementRequest jobManagement);

    JobManagement queryByPrimaryKey(Long id);

    List<JobManagement> query(JobManagement jobManagement);

    PageResult<JobManagement> queryPage(JobManagement jobManagement, Page pageQuery);

    PageResult<JobManagementResponse> getJobList(JobManagementRequest jobManagement);

    RestResult<String> editJobInfo(JobManagementRequest jobManagement);

    RestResult<String> deleteJobInfo(JobManagementRequest jobManagement);
}